package com.hb.service.role;
                
import com.hb.pojo.po.role.Role;
import com.hb.pojo.vo.role.RoleVo;
import com.hb.pojo.dto.role.RoleDto;
import java.util.List;

public interface RoleService {

    Role selectByPrimaryKey(Integer id);

    Role selectByRoleName(String roleName);

    Role insertSelective(RoleVo record);

    Role updateByPrimaryKeySelective(RoleVo record);
    
    Role updateByPrimaryKey(RoleVo record);

    List<RoleDto> selectByVo(RoleVo roleVo);
}